package web.sso.auth.model;

import java.util.Collection;

/**
 * DATE: 2020/2/29
 * TIME: 11:56 下午
 * AUTHOR: hlm
 * 接口权限监控规则
 */
public interface Rule {
    /**
     * 需要监控的接口
     * @return
     */
    String getApi();

    /**
     * 权限规则集合
     * 命中该集合既被放行
     * @return
     */
    Collection<RuleModel> getAuthRules();
}
